package context.config.beanmethod.scan;

import cn.stimd.spring.context.annotation.Bean;
import cn.stimd.spring.context.annotation.ComponentScan;
import cn.stimd.spring.context.annotation.Configuration;

/**
 * Created by Stimd
 * 项目地址：https://gitee.com/stimd/spring-wheel
 * 公众号：Java编程探微
 */
@ComponentScan
@Configuration
public class ScanConfig {

    @Bean
    public ScanBean scanBean() {
        return new ScanBean("ScanBean实例来自BeanMethod");
    }
}
